package com.interprise.shiro;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;


import java.io.IOException;

@Configuration
@SpringBootApplication
@ComponentScan(basePackages = {"com.interprise"})
public class ShiroApplication{

    private static final Logger logger = LoggerFactory.getLogger(ShiroApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(ShiroApplication.class, args);
        logger.info("=========================================> interprise-shiro Service Started .");
    }
}
